﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Index.aspx.cs" Inherits="WebMvc.App.Views.Default.IndexController.Index" %>
<%@ Register Src="~/App/Views/Default/Common/Public/Header.ascx" TagPrefix="uc1" TagName="Header" %>
<%@ Register Src="~/App/Views/Default/Common/Public/Footer.ascx" TagPrefix="uc1" TagName="Footer" %>
<%@ Register Src="~/App/Views/Default/UserControl/Navigator.ascx" TagPrefix="uc1" TagName="Navigator" %>
<%@ Register Src="~/NFinal/Controll/VCode.ascx" TagPrefix="uc1" TagName="VCode" %>
<!doctype html>
<html>
<head>
    <script src="/App/Content/js/jquery-1.11.2.min.js"></script>
    <link href="/App/Content/css/frame.css" type="text/css" rel="stylesheet" />
</head>
<body>
    <uc1:Header runat="server" />   
    <article>
        Hello,NFinal!
        <uc1:VCode runat="server" id="VCode" />
        <input id="sub" type="button" value="验证"/>
        <script>
            $(document).ready(function () {
                $("#sub").click(function () {
                    $.post("/App/Common/VCodeController/VCheck.htm", { _vcode: $("#_vcode").val() }, function (data) {
                        alert(data);
                    });
                });
            });
        </script>
    </article>
    <uc1:Footer runat="server" ID="footer"/>
</body>
</html>